package com.cloudwise.dao;

import com.cloudwise.entity.Dept;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface DeptDao {
    int deleteByPrimaryKey(Integer deptid);

    int insert(Dept record);

    int insertSelective(Dept record);

    Dept selectByPrimaryKey(Integer deptid);

    int updateByPrimaryKeySelective(Dept record);

    int updateByPrimaryKey(Dept record);
    List<Dept> findAllDept();
}